package com.study.manage.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.study.manage.domain.enumm.LiveDieState;
import com.study.manage.domain.enumm.OrdersType;

@Entity
@Table(name = "sa_orders_detail")
public class OrdersDetail extends AbstractEntity {

    private static final long serialVersionUID = 5535409481110171726L;


    public OrdersType itemType;
    public String itemName;
    public Long itemId;
    public Long ordersId;
    public Float total;
    public Float price;
    public Integer count;
    public LiveDieState state = LiveDieState.LIVE;

    public OrdersDetail() {}

    public OrdersDetail(Long id) {
        this.id = id;
    }
}
